package com.msb.servicemap.controller;

import com.msb.internalcommon.dto.ResponseResult;
import com.msb.servicemap.service.DicDistrictService;
import com.sun.org.apache.xpath.internal.compiler.Keywords;
import net.sf.jsqlparser.statement.select.First;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Auther: WuWen
 * @Date: 2023/8/21 - 08 - 21 - 14:12
 * @Description: com.msb.servicemap.controller
 * @version: 1.0
 */
@RestController
public class DicDistrictController {

    @Autowired
    DicDistrictService dicDistrictService;

    @GetMapping("/dic-district")
    public ResponseResult initDistrict(String keywords){
        return dicDistrictService.initDistrict(keywords);
    }
}
